package xinxin.com.StatePatternBasic;

import xinxin.com.StatePatternBasic.Context.Context;
import xinxin.com.StatePatternBasic.State.ConcreteState.ConcreteStateA;

/**
 * @author ：史鑫鑫
 * @date ：Created in 2019/3/26 10:02
 */
public class StatePatternBasic {
    public static void main(String[] args) {
        Context context = new Context(new ConcreteStateA());
        context.Request();
        context.Request();
        context.Request();
        context.Request();
    }
}
